package edu.zut.pioneer.commodity.domain;


import edu.zut.pioneer.base.domain.BaseTree;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="commodity_sort")

public class CommoditySort extends BaseTree<CommoditySort,Long> {
    @Column(name="name")
    private String name;
    @Column(name="info")
    private String info;

    public CommoditySort() {
    }

    public CommoditySort(String name,String info) {
        this.name = name;
        this.info = info;
    }


    public String getName() {
        return name;
    }

    public String getInfo() {
        return info;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
